/*
1. Write a program that declares an int, a reference to an int, and a pointer to an int. 
Use the pointer and the reference to manipulate the value in the int.

*/

#include <iostream.h>

int main() {
	int x;
	int * pX = &x;
	int & rX = x;
	x = 5;
	cout << x << endl;
	*pX = 7;
	cout << x << endl;
	rX = 9;
	cout << x << endl;
	return 0;
}
